package com.wqr.dao;

import com.wqr.pojo.Delicious;
import com.wqr.pojo.DeliciousExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeliciousDao {
    int countByExample(DeliciousExample example);

    int deleteByExample(DeliciousExample example);

    int deleteByPrimaryKey(Integer deliciousId);

    int insert(Delicious record);

    int insertSelective(Delicious record);

    List<Delicious> selectByExample(DeliciousExample example);

    List<Delicious> selectByPrimaryKey(Integer deliciousId);
    
    List<Delicious> selectByWhere(Delicious delicious);
    
    List<Delicious> selectByUser(Delicious delicious);
    
    int selectDeliciousId();

    int updateByExampleSelective(@Param("record") Delicious record, @Param("example") DeliciousExample example);

    int updateByExample(@Param("record") Delicious record, @Param("example") DeliciousExample example);

    int updateByPrimaryKeySelective(Delicious record);

    int updateByPrimaryKey(Delicious record);
}